<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>任务单查询与分配 - 物流管理系统</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<style media="all" type="text/css">@import "../../style/all.css";
	@import "../../style/jquery/ui.all.css";</style>
	<script language="javascript">
	     var i=1;
		 function get_condition(one,two){
		       if(i%2==1){
			        document.getElementById(one).style.display="none";
					document.getElementById(two).style.display="block";
					i=0;
			   }
			   else{
			        document.getElementById(one).style.display="block";
					document.getElementById(two).style.display="none";
			        i=1;
			   }
		 }
	</script>
	<script type="text/javascript" src="../../script/jquery-1.3.2.min.js"></script>
	<script type="text/javascript" src="../../script/jquery-ui-personalized-1.6rc6.min.js"></script>
	<script type="text/javascript" src="../../script/date.js"></script>
	<script type="text/javascript" src='../../script/common.js'></script>
	<script type="text/javascript">
		$(function(){
			datepicker('.date-two');
		});
	</script>
</head>
<body style="background: none">
	<div class="top-bar">
		<!--a href="#" class="button">取 消</a><a href="#" class="button">保 存</a-->
		<h1>任务单查询与分配</h1>
		<div class="breadcrumbs">
			<div class="button-bar">
				<input type="button" name="" value="帮助" class="button"/>
				<input type="button" name="" value="查询条件切换" class="button" onclick="get_condition('single_condition','multiple_condition')"/>
				<input type="button" name="" value="查询" class="button"/>
				<!--分站编号Start-->
			    <input type="hidden" name="" value="11"/>
				<!--分站编号End-->
			</div>
			<a href="../../index.html" target="_top">首页</a> /
			<a href="../index.html" target="_top">分站管理</a>
		</div>
	</div>
	    <!--高级查询Start-->
		  <form name="" action="" method="">
			   <div class="select-bar" id="single_condition" style="display:black">
			     <table class="select-table">
				   <tr>
				     <th>任务单号：</th>
					 <td><input type="text" name="任务单号" class="text"/></td>
					 <td></td>
                     <td></td>
					 <td></td>
					 <td></td>
				   </tr>
				 </table>
			   </div>
           <div class="select-bar" id="multiple_condition" style="display:none">
			<table class="select-table">
				<tr>
					<th>完成日期：</th>
					<td> <input type="text" name="textfield" class="date-two text" readonly  style="width:75px;"/></td>
					<th>任务类型：</th>
					<td> 
					     <select>
							  <option>--请选择--</option>
							  <option>送货收款</option>
							  <option>送货</option>
							  <option>收款</option>
							  <option>换货</option>
							  <option>退货</option>
							  <option>部分换货</option>
							  <option>部分退货</option>
			             </select>
		            </td>
					<th> 任务状态：</th>
					<td> <select>
			              <option>--请选择--</option>
						  <option>已调度</option>
						  <option>可以分配</option>
						  <option>已分配</option>
						  <option>已领取</option>
						  <option>已完成</option>
						  <option>失败</option>
			          </select>
					<td>
				</tr>
			</table>
		  </div>
        </form>
	  <!--高级查询End-->
    <!--任务单信息显示Start-->
	<div class="table">
		<img src="../../style/img/bg-th-left.gif" width="8" height="7" alt="" class="left" />
		<img src="../../style/img/bg-th-right.gif" width="7" height="7" alt="" class="right" />
		<table class="listing" cellpadding="0" cellspacing="0">
			<tr>
				<th class="first">任务单号</th>
				<th>订单号</th>
				<th>任务生成日期</th>
				<th>要求完成日期</th>
				<th>任务类型</th>
				<th>任务状态</th>
				<th class="last">操作（详细信息/分配任务）</th>
			</tr>
			<tr>
				<td class="first">1</td>
				<td>1</td>
				<td>2009-01-02</td>
				<td>2009-02-02</td>
						<td> 
					  收款
		            </td>
					<td> 可以分配
					</td>
				<td class="last" style="text-align:center">
				      <a href="query_single_task.html"><img src="../../style/img/detail-ico.png" alt="任务单详细信息"/><a>
				      <div id="distribute1"><a href="javascript:get_condition('distribute1','ok1')">
					  <img src="../../style/img/special-ico.png" alt="任务分配"/></a></div>
				      <span id="ok1" style="display:none">选择配送员：
						  <select>
							 <option>--请选择--</option>
							 <option>张三</option>
							 <option>李四</option>
						   </select>
				          <a href="javascript:get_condition('ok1','distribute1')"><img src="../../style/img/bt_yes.gif" alt="确定"/></a><a href="javascript:get_condition('ok1','distribute1')"><img src="../../style/img/bt_del.gif" alt="取消"/></a>
				   </span>
				   </td>
			</tr>
			<tr>
				<td class="first">1</td>
				<td>1</td>
				<td>2009-01-02</td>
				<td>2009-02-02</td>
						<td> 
					  收款
		            </td>
					<td> 可以分配
					</td>
				<td class="last" style="text-align:center">
				      <a href="query_single_task.html"><img src="../../style/img/detail-ico.png" alt="任务单详细信息"/><a>
				      <div id="distribute2"><a href="javascript:get_condition('distribute2','ok2')">
					  <img src="../../style/img/special-ico.png" alt="任务分配"/></a></div>
				      <span id="ok2" style="display:none">选择配送员：
						  <select>
							 <option>--请选择--</option>
							 <option>张三</option>
							 <option>李四</option>
						   </select>
				          <a href="javascript:get_condition('ok2','distribute2')"><img src="../../style/img/bt_yes.gif" alt="确定"/></a><a href="javascript:get_condition('ok2','distribute2')"><img src="../../style/img/bt_del.gif" alt="取消"/></a>
				   </span>
				   </td>
			</tr>
			<tr>
				<td class="first">1</td>
				<td>1</td>
				<td>2009-01-02</td>
				<td>2009-02-02</td>
						<td> 
					  收款
		            </td>
					<td> 可以分配
					</td>
				<td class="last" style="text-align:center">
				      <a href="query_single_task.html"><img src="../../style/img/detail-ico.png" alt="任务单详细信息"/><a>
				      <div id="distribute3"><a href="javascript:get_condition('distribute3','ok3')">
					  <img src="../../style/img/special-ico.png" alt="任务分配"/></a></div>
				      <span id="ok3" style="display:none">选择配送员：
						  <select>
							 <option>--请选择--</option>
							 <option>张三</option>
							 <option>李四</option>
						   </select>
				          <a href="javascript:get_condition('ok3','distribute3')"><img src="../../style/img/bt_yes.gif" alt="确定"/></a><a href="javascript:get_condition('ok3','distribute3')"><img src="../../style/img/bt_del.gif" alt="取消"/></a>
				   </span>
				   </td>
			</tr>
			<tr>
				<td class="first">1</td>
				<td>1</td>
				<td>2009-01-02</td>
				<td>2009-02-02</td>
						<td> 
					  收款
		            </td>
					<td> 可以分配
					</td>
				<td class="last" style="text-align:center">
				      <a href="query_single_task.html"><img src="../../style/img/detail-ico.png" alt="任务单详细信息"/><a>
				      <div id="distribute4"><a href="javascript:get_condition('distribute4','ok4')">
					  <img src="../../style/img/special-ico.png" alt="任务分配"/></a></div>
				      <span id="ok4" style="display:none">选择配送员：
						  <select>
							 <option>--请选择--</option>
							 <option>张三</option>
							 <option>李四</option>
						   </select>
				          <a href="javascript:get_condition('ok4','distribute4')"><img src="../../style/img/bt_yes.gif" alt="确定"/></a><a href="javascript:get_condition('ok4','distribute4')"><img src="../../style/img/bt_del.gif" alt="取消"/></a>
				   </span>
				   </td>
			</tr>
		</table>
		<div class="pager">
			共59条记录 每页<input type="text" class="text" size="2" value="10"/>条
			第1页/共5页
			<a href="#">第一页</a>
			<a href="#">上一页</a>
			<a href="#">下一页</a>
			<a href="#">最后一页</a>
			转到<input type="text" class="text" size="1" value="1"/>页
			<input type="button" class="button" onclick="" value="GO"/>
        </div>
	</div>
	<!--任务单信息显示End-->
</body>
</html>
